<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue 示例</title>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<div id="app">
    <h1>{{msg}}}</h1>
</div>
<script>
    var vm=new Vue({
        //el:"选择器"
        el:"#app",
        data: {
            msg: "vue.js起步！"
        },
        //实例中，可以设置很多配置项
    });
</script>
</body>
</html>